home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _3CC960AB06FE4D6E823287DB9450A6BA < prev    next >
Encoding:
Text File  |  2004-04-06  |  1.3 KB  |  52 lines

  1. light("spot_spotmap")
  2. {
  3.     pass()
  4.     {
  5.         VertexShader("SpotBand.vsh")
  6.  
  7.         tmu()
  8.         {
  9.             texgen("spotlight")
  10.             texture()
  11.             {
  12.                 spotmap()
  13.                 addressfunc("clamp", "clamp", "clamp")
  14.                 filtering("linear_no_mip")  //FIXIT
  15.             }
  16.             colorop("mul", "texture", "tfactor", "current")
  17.         }
  18.  
  19.         tmu()
  20.         {
  21.             texgen("spotlight_z_att")
  22.             texture()
  23.             {
  24.                 image("spot_z.png")
  25.                 addressfunc("clamp", "clamp", "clamp")
  26.                 filtering("linear_no_mip")
  27.             }
  28.             colorop("mul", "texture", "current", "current")
  29.         }
  30.         tmu()
  31.         {
  32.             texmod("translate", "sin", -2.1, 4.3, 3.2, "sin", -5, 3.03, 10)
  33.             Texture()
  34.             {
  35.                 Mapchannel(0)
  36.                 Image(TEXTURE1)
  37.                 !include(TEX1OPTIONSFILE)
  38.             }
  39.             colorop("mul", "texture", "current", "current")
  40.             alphaop("arg2", "texture", "tfactor", "current")
  41.         }
  42.         tfactor(1,1,1,0)
  43.         colorgen("tfactor", "user", 0,0,0, "none", 0,0,0)
  44.  
  45.         blendfunc("one", "one")
  46.         depthfunc("lequal", 0)
  47.  
  48.         blackfog()
  49.     }
  50. }
  51.  
  52.